public class Main {


    public static void main(String[] args) {
        String obj1=new String("变量1");
        String obj2=new String("变量2");
        new DeadThread("线程1",obj1,obj2).start();
        new DeadThread("线程2",obj2,obj1).start();

    }
}
